package member.service;

import java.io.IOException;
import java.util.List;


import common.pojo.Member;
import common.pojo.MemberInfo;
import common.pojo.MemberOtherInfo;

public interface IMemberService {

	
	public  List<Member> getMemberListByPage(int start, int limit, String orderby, String desc);
	public boolean save(Member member, MemberInfo memberInfo, MemberOtherInfo memberOtherInfo) throws IOException;
	//public abstract boolean saveMenber(Member member,MemberOtherInfo memberOtherInfo);
	public  boolean delete(String ids);
	public int getCount();
	public Member findMemberById(int id);
	public MemberInfo findInfoById(int id);
	public MemberOtherInfo findOtherInfoById(int id);
	public boolean update(Member member, MemberInfo memberInfo,  String repwd);
	public  Member findByName(String name);
	public boolean update(String ip, Integer id);
	public void update(Member member, MemberInfo memberInfo);
	public void updatePwd(String pwd, int memberId);
	public int save(Member member, MemberOtherInfo other);

}